<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>系统消息</title>
	<style>
		body,div,section,*{ margin:0; padding:0; font-family:'微软雅黑'; font-size:14px;}
		.message{ width:466px; margin: 150px auto; padding:1px; border:1px solid #0487ce; text-align: center;}
		.message .tips{ line-height:40px; background:#0487ce; margin:0 auto 20px; color: #080; color:#fff;}
		.message .guide h3{ line-height:30px;}
		.message .guide p{ margin:10px auto 20px;}
		.message .guide p a{ text-decoration:none; color:#666;}
		.message .guide p a:hover{ text-decoration:underline; color:#00a;}
	</style>
</head>

<body>

<section class="message">
    <div class="message_c">
		<div class="msg">
			<div class="msg01 {if $tpl_msg['kind']}succ{else}error{/if}">
				<h3 class="tips"><span>温馨提示</span></h3>
				<div class="guide">
					<h3>{$tpl_msg['msg']}</h3>
					<p><a href="{if $tpl_msg['url'] == -1}javascript:history.go(-1);{else}{$tpl_msg['url']}{/if}">如果你得浏览器没有自动跳转，请点击这里</a></p>
				</div>
			</div>
		</div> 
    </div>
</section>

<script type="text/javascript">
var url = '{$tpl_msg["url"]}';

if(url != '')
{
	if(url == '-1')
	{
		setTimeout('history.go(-1);',('{$tpl_msg["time"]}' * 1000));
	}
	else
	{
		setTimeout('location.href="'+url+'";',('{$tpl_msg["time"]}' * 1000));
	}
}
</script>

</body>
</html>